﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Project32CHE.Biz.UserAccount.Exceptions
{
    public class AccountNotFoundException : Exception
    {
        public string Account { get; private set; }
        public AccountNotFoundException(string account)
        {
            this.Account = account;
        }
        public override string Message
        {
            get
            {
                var s = (string.IsNullOrWhiteSpace(this.Account) ? string.Empty : "[" + this.Account + "]") + "账号不存在";
                return s;
            }
        }
    }
}
